/* Doesnt' work. Why? */
//AjaxLab.Engine.Plugins.BaseCommands.callBaseMethod(this, 'registerCommands',[customCommands]);

/*
		Will it be better to use delegate and have users define their own method instead? lik
		this.registerCommandProcess(custoCommand, commandCallBack, commandCallBackContext);
*/
	
Type.registerNamespace("AjaxLab.Engine.Plugins");
AjaxLab.Engine.Plugins.BaseCommands= function()
{
	var customCommands = "CLEAR|DEBUG|ENABLE|DISABLE";
	
	AjaxLab.Engine.Plugins.BaseCommands.initializeBase(this);
	this.registerCommands(customCommands);
	
	/* Implement the Plug In here */
	
	this.processCommands = function(valueParam) {
        return "base command returned"+valueParam;
    }
}
AjaxLab.Engine.Plugins.BaseCommands.registerClass('AjaxLab.Engine.Plugins.BaseCommands', AjaxLab.Engine.Abstract.Commands);




